package com.iplatform.file.function.resourcedata.service;




import com.iplatform.file.function.front.vo.TreeSelectVo;
import com.iplatform.file.function.resourcedata.entity.MenuBean;

import java.util.List;

/**
 * @className: MenuService
 * @description: TODO 类描述
 * @author: chensk
 * @date: 2020/12/3
 **/
public interface MenuService {
	List<TreeSelectVo> selectAllMenu();
	
	
	List<MenuBean> selectById(Long id);
	
	List<MenuBean> selectChildByParentId(Long parentId, String menuName);
	
	List<MenuBean> insertOrUpdate(MenuBean menuBean);
	
	int deleteById(Long id);
	
	MenuBean getChildIdOrCreateMenuByName(Long parentId, String menuName);
	
	
	MenuBean selectByMenuId(Long id);
	
	
	List<TreeSelectVo> selectChildMenuByMenuId(Long menuId);
	
}
